package com.qf.shop.system.modules.catgory.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import lombok.Data;

/**
 * 
 * 
 * @author toString
 * @email toString@qq.com
 * @date 2022-05-16 14:18:10
 */
@Data
@TableName("wx_catgory")
public class CatgoryEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * ID
	 */
	@TableId(type = IdType.INPUT)
	private Long id;
	/**
	 * 名称
	 */
	private String name;
	/**
	 * 图标地址
	 */
	private String icon;
	/**
	 * 父类ID
	 */
	private Integer pid;
	/**
	 * 显示顺序
	 */
	private Integer orderNum;
	/**
	 * 状态
	 */
	private Integer status;
	@TableField(exist = false)
	private List<CatgoryEntity> list;

}
